

#ifndef     _UCGRADTHUMB_H
#define     _UCGRADTHUMB_H

#include "zdbcolor.h"

class CUcGradientThumbnailEngine
{
    public:
        virtual ~CUcGradientThumbnailEngine() {};

        virtual Ucad::ErrorStatus gradientThumbnailsSetRotation( double angle ) = 0;
        virtual Ucad::ErrorStatus gradientThumbnailsSetShift( bool bShifted ) = 0;
        virtual Ucad::ErrorStatus gradientThumbnailsSetStartColor( UcCmEntityColor startColor ) = 0;
        virtual Ucad::ErrorStatus gradientThumbnailsSetStopColor( UcCmEntityColor stopColor ) = 0;

        virtual Ucad::ErrorStatus gradientThumbnailsRender(void) = 0;
        virtual Ucad::ErrorStatus gradientThumbnailsDrawBitmap( int gradientNumber, HDC hDC, int xPos, int yPos ) = 0;

};

CUcGradientThumbnailEngine *createGradientThumbnailEngine();

#endif 
